#!/bin/bash

echo "1.1.1.1 www.a.com" >> /etc/hosts

su - magedu -c "/apps/tomcat/bin/catalina.sh start"

tail -f /etc/hosts
